package com.android.djlmapp.adapter.my;

import android.content.Context;
import android.util.Log;
import android.view.View;

import com.android.djlmapp.R;
import com.android.djlmapp.tools.global.UserInfoUtils;
import com.just.agentweb.LogUtils;

import java.util.HashMap;
import java.util.List;

public class MyPwdRecyclerviewAdapter extends MyBaseRecyclerViewAdapter<String> {
    public MyPwdRecyclerviewAdapter(List<String> hashMaps, Context mContext, int layId) {
        super(hashMaps, mContext, layId);
    }

    @Override
    public void convert(ViewHolder holder, String itemData) {
        holder.setText(R.id.my_pwd_name, (String)itemData);

        if(UserInfoUtils.getUserInfoUtilsInstance().getUserName().equals((String)itemData)){
            holder.setViewVisibility(R.id.my_cp_img, View.VISIBLE);

        }
    }


}
